package com.ruoyi.yanjing.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 监测点位信息对象 c5_monitor_point
 * 
 * @author whz
 * @date 2024-11-18
 */
@ApiModel(value = "MonitorPoint", description = "监测点位信息对象")
public class MonitorPoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("ID")
    private String id;

    /** 点位编码 */
    @Excel(name = "点位编码")
    @ApiModelProperty("点位编码")
    private String pointCode;

    /** 点位名称 */
    @Excel(name = "点位名称")
    @ApiModelProperty("点位名称")
    private String pointName;

    /** 点位设备名称 */
    @Excel(name = "点位设备名称")
    @ApiModelProperty("点位设备名称")
    private String pointDeviceName;

    /** 相位 */
    @Excel(name = "相位")
    @ApiModelProperty("相位")
    private String phase;

    /** 电杆id */
    @Excel(name = "电杆id")
    @ApiModelProperty("电杆id")
    private Long poleId;

    /** 电杆编号 */
    @Excel(name = "电杆编号")
    @ApiModelProperty("电杆编号")
    @TableField(exist = false)
    private String poleCode;

    /** 电杆名称 */
    @Excel(name = "电杆名称")
    @ApiModelProperty("电杆名称")
    @TableField(exist = false)
    private String poleName;

    /** 电杆经度 */
    @Excel(name = "电杆经度")
    @ApiModelProperty("电杆经度")
    @TableField(exist = false)
    private String poleLongitude;


    /** 电杆纬度 */
    @Excel(name = "电杆纬度")
    @ApiModelProperty("电杆纬度")
    @TableField(exist = false)
    private String poleLatitude;


    /** 所属线路id */
    @Excel(name = "所属线路id")
    @ApiModelProperty("所属线路id")
    private String lineId;

    /** 所属线路编码 */
    @Excel(name = "所属线路编码")
    @ApiModelProperty("所属线路编码")
    @TableField(exist = false)
    private String lineCode;
    /** 所属线路名称 */
    @Excel(name = "所属线路名称")
    @ApiModelProperty("所属线路名称")
    @TableField(exist = false)
    private String lineName;
    /** 告警状态 */
    @Excel(name = "告警状态")
    @ApiModelProperty("告警状态:0异常，1正常")
    private String pointAlarmStatus;

    /** 设备温度 */
    @Excel(name = "设备温度")
    @ApiModelProperty("设备温度")
    private String deviceTemperature;

    /** 设备电压 */
    @Excel(name = "设备电压")
    @ApiModelProperty("设备电压")
    private String deviceVoltage;


    /** 设备状态：1正常,0异常 */
    @Excel(name = "设备状态：1正常,0异常")
    @ApiModelProperty("设备状态:不用")
    private String deviceStatus;

    /** 数据上报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("数据上报时间")
    @Excel(name = "数据上报时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date reportTime;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String standby1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String standby2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String standb3;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createEmployeeId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateEmployeeId;


    /** 所属区域编码 */
    @Excel(name = "所属区域编码")
    @ApiModelProperty("所属区域编码")
    @TableField(exist = false)
    private String areaCode;

    /** 所属区域名称 */
    @Excel(name = "所属区域名称")
    @ApiModelProperty("所属区域名称")
    @TableField(exist = false)
    private String areaName;

    /** 电杆设备网关id */
    @Excel(name = "电杆设备网关id")
    @ApiModelProperty("电杆设备网关id")
    @TableField(exist = false)
    private String gatewayId;

    public String getGatewayId() {
        return gatewayId;
    }

    public void setGatewayId(String gatewayId) {
        this.gatewayId = gatewayId;
    }

    public String getPoleLatitude() {
        return poleLatitude;
    }

    public void setPoleLatitude(String poleLatitude) {
        this.poleLatitude = poleLatitude;
    }

    public String getPoleLongitude() {
        return poleLongitude;
    }

    public void setPoleLongitude(String poleLongitude) {
        this.poleLongitude = poleLongitude;
    }

    public String getDeviceVoltage() {
        return deviceVoltage;
    }

    public void setDeviceVoltage(String deviceVoltage) {
        this.deviceVoltage = deviceVoltage;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPointName(String pointName) 
    {
        this.pointName = pointName;
    }

    public String getPointName() 
    {
        return pointName;
    }
    public void setPointDeviceName(String pointDeviceName) 
    {
        this.pointDeviceName = pointDeviceName;
    }

    public String getPointDeviceName() 
    {
        return pointDeviceName;
    }
    public void setPhase(String phase) 
    {
        this.phase = phase;
    }

    public String getPhase() 
    {
        return phase;
    }
    public void setPoleId(Long poleId) 
    {
        this.poleId = poleId;
    }

    public Long getPoleId() 
    {
        return poleId;
    }
    public void setLineId(String lineId) 
    {
        this.lineId = lineId;
    }

    public String getLineId() 
    {
        return lineId;
    }
    public void setPointAlarmStatus(String pointAlarmStatus) 
    {
        this.pointAlarmStatus = pointAlarmStatus;
    }

    public String getPointAlarmStatus() 
    {
        return pointAlarmStatus;
    }
    public void setDeviceTemperature(String deviceTemperature) 
    {
        this.deviceTemperature = deviceTemperature;
    }

    public String getDeviceTemperature() 
    {
        return deviceTemperature;
    }
    public void setDeviceStatus(String deviceStatus) 
    {
        this.deviceStatus = deviceStatus;
    }

    public String getDeviceStatus() 
    {
        return deviceStatus;
    }
    public void setReportTime(Date reportTime) 
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime() 
    {
        return reportTime;
    }
    public void setStandby1(String standby1) 
    {
        this.standby1 = standby1;
    }

    public String getStandby1() 
    {
        return standby1;
    }
    public void setStandby2(String standby2) 
    {
        this.standby2 = standby2;
    }

    public String getStandby2() 
    {
        return standby2;
    }
    public void setStandb3(String standb3) 
    {
        this.standb3 = standb3;
    }

    public String getStandb3() 
    {
        return standb3;
    }
    public void setCreateEmployeeId(Long createEmployeeId) 
    {
        this.createEmployeeId = createEmployeeId;
    }

    public Long getCreateEmployeeId() 
    {
        return createEmployeeId;
    }
    public void setUpdateEmployeeId(Long updateEmployeeId) 
    {
        this.updateEmployeeId = updateEmployeeId;
    }

    public Long getUpdateEmployeeId() 
    {
        return updateEmployeeId;
    }

    public String getPointCode() {
        return pointCode;
    }

    public void setPointCode(String pointCode) {
        this.pointCode = pointCode;
    }

    public String getPoleCode() {
        return poleCode;
    }

    public void setPoleCode(String poleCode) {
        this.poleCode = poleCode;
    }

    public String getPoleName() {
        return poleName;
    }

    public void setPoleName(String poleName) {
        this.poleName = poleName;
    }

    public String getLineCode() {
        return lineCode;
    }

    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pointName", getPointName())
            .append("pointDeviceName", getPointDeviceName())
            .append("phase", getPhase())
            .append("poleId", getPoleId())
            .append("lineId", getLineId())
            .append("pointAlarmStatus", getPointAlarmStatus())
            .append("deviceTemperature", getDeviceTemperature())
            .append("deviceStatus", getDeviceStatus())
            .append("reportTime", getReportTime())
            .append("standby1", getStandby1())
            .append("standby2", getStandby2())
            .append("standb3", getStandb3())
            .append("createTime", getCreateTime())
            .append("createEmployeeId", getCreateEmployeeId())
            .append("updateTime", getUpdateTime())
            .append("updateEmployeeId", getUpdateEmployeeId())
            .toString();
    }
}
